package com.hziee.cosmanage.companymanage.feign;

import com.hziee.common.utils.R;
import com.hziee.cosmanage.companymanage.vo.InviteVo;
import com.hziee.cosmanage.companymanage.vo.InviteVoNew;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.IOException;
import java.util.List;

@FeignClient("cosmanage-search")
public interface SearchFeignService {

    @PostMapping("/search/saveInvite")
    public R inviteStatusUp(@RequestBody List<InviteVoNew> vos) throws IOException;
}
